

export default[
    {
        path:'/employee',
        name:'employee',
        component: resolve => require(['@/views/Employee/index.vue'],resolve),
        children:[
            {
                path:'',
                name:'grabOrder',
                component: resolve => require(['@/views/Employee/main/grabOrder.vue'],resolve),
            },
            {
                path:'shippedOrder',
                name:'shippedOrder',
                component:resolve => require(['@/views/Employee/main/shippedOrder.vue'],resolve)
            },
            {
                path:'dispatchedOrder',
                name:'dispatchedOrder',
                component:resolve => require(['@/views/Employee/main/dispatchedOrder.vue'],resolve)
            },
            {
                path:'ownInfo',
                name:'ownInfo',
                component:resolve => require(['@/views/Employee/main/ownInfo.vue'],resolve),
                children:[
                    {
                        path:'updateEmployeeInfo',
                        name:'updateEmployeeInfo',
                        component: resolve => require(['@/component/updateEmployeeInfo.vue'], resolve)
                    }
                ]
            },
            {
                path:'messageCenter',
                name:'messageCenter',
                component: resolve => require(['@/views/Employee/main/messageCenter.vue'],resolve)
            }
        ]
    }
]